<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        console.log(parseInt(5/2));

        // 1到60的整数  
        // Math.random()   [0,1)   *  60  =  0-60   +  1  = 1-61   1-60
         console.log(Math.floor(Math.random()*60+1));
    </script>
</body>
</html>